package com.yonyou.pmclouds.industryandtype.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * 类型（IndustryVO的子表）
 */
@Table(name = "pmbd_type")
@Setter
@Getter
public class TypeVO extends SuperVO {

    public static final String PK_TYPE = "pkType";

    @Id
    private String pkType;
    private String pkIndustry;
    private String scode;
    @NotNull
    @Size(min = 1, max = 50)
    private String sname;
    /** 通用字段**/
    @Column(name="pk_tenant",updatable=false)
    private String pkTenant;
    @Column(name="creator",updatable=false)
    private String creator;
    @Column(name="creationtime",updatable=false)
    private Date creationtime;
    private String modifier;
    private Date modifytime;
    private String billType;
}

